<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<script type="text/javascript">
	$(document).ready(function(){
		$("#cancelSeller").click(function(){
			if(confirm("판매자 권한을 해제 하시겠습니까?")){
				location.href="cancelSeller.do?sellerId=${requestScope.svo.sellerId }";
			}else{
				return;
			}
		});
	});
</script>

<h3>판매자 상세보기</h3>
<table border="1" cellpadding="5" width="300">
	<tr>
		<td colspan="2" align="center">회원 정보</td>
	</tr>
	<tr>
		<td width="40%">아이디</td><td width="60%">${requestScope.cvo.id }</td>
	</tr>
	<tr>
		<td>이름</td><td>${requestScope.cvo.name }</td>
	</tr>
	<tr>
		<td>주소</td><td>${requestScope.cvo.address }</td>
	</tr>
	<tr>
		<td>보유 포인트</td><td>${requestScope.cvo.point }</td>
	</tr>
	<tr>
		<td>회원 등급</td><td>${requestScope.cvo.grade }</td>
	</tr>
	<tr>
		<td colspan="2" align="center">판매 정보</td>
	</tr>
	<tr>
		<td>판매명</td><td>${requestScope.svo.sellerName }</td>
	</tr>
	<tr>
		<td>판매지</td><td>${requestScope.svo.sellerAddress }</td>
	</tr>
	<tr>
		<td>정보</td><td>${requestScope.svo.sellerInfo }</td>
	</tr>
</table>
<br>
<input type="button" id="cancelSeller" value="판매자 권한해제">